package com.qing.springcloud.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 好友请求表 (friend_request)实体类
 *
 * @author zhipeng.cao
 * @since 2025-07-09 20:09:50
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("friend_request")
public class FriendRequest extends Model<FriendRequest> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
	private Long id;
    /**
     * 发起请求用户ID
     */
    @TableField("from_user")
    private Long fromUser;
    /**
     * 接收请求用户ID
     */
    @TableField("to_user")
    private Long toUser;
    /**
     * 请求状态(0:待处理,1:同意,2:拒绝)
     */
    @TableField("status")
    private Integer status;
    /**
     * 请求消息


     */
    @TableField("message")
    private String message;
    /**
     * createdAt
     */
    @TableField("created_at")
    private Date createdAt;
    /**
     * updatedAt
     */
    @TableField("updated_at")
    private Date updatedAt;

}